package com.lottery.material.enumeration.article;

import com.lottery.material.enumeration.base.BaseEnum;
import lombok.Getter;

/**
 * Description：赛事信息枚举类
 * Created by 朱正磊 on 2019-04-15 16:41
 */
@Getter
public enum CompetitionInfoEnum implements BaseEnum {

    // 赛事类型（1：竞彩足球；2：竞彩篮球）
    COMPETITION_TYPE_FOOTBALL("COMPETITION_TYPE", 1, "竞彩足球"),
    COMPETITION_TYPE_BASKETBALL("COMPETITION_TYPE", 2, "竞彩篮球"),

    // 状态（1、未完成，2、已完成）
    STATE_UNFINISHED("STATE", 1, "未完成"),
    STATE_FINISHED("STATE", 2, "已完成"),
    ;

    private String code;
    private Object value;
    private String description;

    CompetitionInfoEnum(String code, Object value, String description) {
        this.code = code;
        this.value = value;
        this.description = description;
    }

    public static final String COMPETITION_TYPE = "COMPETITION_TYPE";
    public static final String STATE = "STATE";

}
